# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include csns::bond
class csns::bond (
$nic0_name = hiera('csns::bond::nic0_name',undef),
$nic1_name = hiera('csns::bond::nic1_name',undef),
$ipaddress = hiera('csns::bond::ipaddress',undef),
){
  network::interface {"$nic0_name":
    method    => manual,
    bond_master => 'bond0',
    allow_hotplug => "$nic0_name",
    manage_order => '08',
  }
  network::interface {"$nic1_name":
    method    => manual,
    bond_master => 'bond0',
    allow_hotplug => "$nic1_name",
    manage_order => '08',
  }
  network::interface { 'bond0':
    method    => manual,
    bond_master => 'bond0',
    allow_hotplug => "$nic1_name",
    manage_order => '08',
  }
}
